import React from 'react';
import styles from './style.less';

const Statistic = ({ title, data }) => (
    <div className={styles.wrap}>
        <div className={styles.title}>{title}</div>
        <div className={styles.content}>
            <div className={styles.top}>{data.top}</div>
            <div className={styles.center}>{data.center}</div>
            <div className={styles.bottom}>{data.bottom}
            </div>
        </div>
    </div>
);

export default Statistic;
